<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ include file="../common/header.jsp"%>

  <h1>Update Question  <div class="log-icon icon-right"></div></h1>
  <hr/>

  <form:form action="/questionnaire/question/updateItemPost" method="post" commandName="question" role="form">
    <div class="form-group">
      <label for="content">Content:</label>
      <%--<input type="text" class="form-control" id="content" name="content" placeholder="Enter Content:" value="${item.content}"/>--%>
      <textarea rows="5" cols="10" class="form-control" id="content" name="content" placeholder="Enter Content:">${item.content}</textarea>
    </div>
    <div class="form-group">
      <label for="type">Type:</label>
      <input type="text" class="form-control" id="type" name="type" placeholder="Enter Type:" value="${item.type}"/>
      <%--<select id="type" name="type" class="form-control">--%>
        <%--<option>1</option>--%>
        <%--<option>2</option>--%>
        <%--<option>3</option>--%>
      <%--</select>--%>

    </div>
    <div class="form-group">
      <label for="impact">Impact:</label>
        <%--<input type="text" class="form-control" id="type" name="type" placeholder="Enter Type:"/>--%>

      <select id="impact" name="impact" class="form-control">
        <option>Low</option>
        <option>Moderate</option>
        <option>High</option>
      </select>

    </div>
    <div class="form-group">
      <label for="choose1">Choose1:</label>
      <input type="text" class="form-control" id="choose1" name="choose1" placeholder="Enter Choose1:" value="${item.choose1}"/>
    </div>
    <div class="form-group">
      <label for="choose2">Choose2:</label>
      <input type="text" class="form-control" id="choose2" name="choose2" placeholder="Enter Choose2:"  value="${item.choose2}"/>
    </div>
    <div class="form-group">
      <label for="choose3">Choose3:</label>
      <input type="text" class="form-control" id="choose3" name="choose3" placeholder="Enter Choose3:"  value="${item.choose3}"/>
    </div>
    <div class="form-group">
      <label for="choose4">Choose4:</label>
      <input type="text" class="form-control" id="choose4" name="choose4" placeholder="Enter Choose4:"  value="${item.choose4}"/>
    </div>
    <div class="form-group">
      <label for="choose5">Choose5:</label>
      <input type="text" class="form-control" id="choose5" name="choose5" placeholder="Enter Choose5:"  value="${item.choose5}"/>
    </div>
    <div class="form-group">
      <label for="survey">Survey:</label>
      <input type="text" class="form-control" id="survey" name="survey" placeholder="Enter Survey:"  value="${item.survey}"/>
    </div>
    <div class="form-group">
      <label for="survey">Score:</label>
      <input type="text" class="form-control" id="score" name="score" placeholder="Enter Score:" value="${item.score}"/>
    </div>
    <div class="form-group">
      <button type="submit" class="btn btn-sm btn-success">Submit</button>
    </div>
    <input type="hidden" id="id" name="id" value="${item.id}"/>
  </form:form>
<%@ include file="../common/footer.jsp"%>